package com.qing.springcloud.common;

import lombok.Getter;

/**
 * @author caozhipeng
 * @date 2025/7/11
 * @description 群聊申请状态枚举类
 */
@Getter
public enum GroupApplicationStatusEnum implements CommonEnum{
    PENDING(0, "待处理"),
    APPROVED(1, "同意"),
    REJECTED(2, "拒绝");

    private Integer code;
    private String name;

    GroupApplicationStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }
    public String getName() {
        return name;
    }
}
